package Practice;
import java.util.Scanner;
public class FindFibo_02 {
    public static int FindFibo(int n){
        if(n==1)return 1;
        else if(n==2) return 1;
        return FindFibo(n-1)+FindFibo(n-2);
    }

    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println(FindFibo(scan.nextInt()));
    }
}
